package com.zte.warehouse.service;

import com.zte.warehouse.model.SingleWarehouse;
import com.zte.warehouse.model.Warehouse;
import com.zte.warehouse.model.WarehouseCondition;
import com.zte.util.PageModel;
import com.zte.warehouse.model.getUserMSG;

import java.util.List;

public interface IWarehouseService {
    /**
     * query
     * @param conn
     * @return
     */

    public PageModel<Warehouse> queryWarehousePageByCondition(PageModel<Warehouse> pageModel, WarehouseCondition conn);

    public List<SingleWarehouse> queryWarehouseList();

    public Warehouse queryUserByCondition(WarehouseCondition conn);

    public int addWarehouse(SingleWarehouse user);

    public List<getUserMSG> getWarehouseUsre();

    public int updateWarehouse(SingleWarehouse singleWarehouse);

    public int deleteWarehouseById(String id);
}
